package com.example.cp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by hemin on 2019/9/29.
 */
@Controller
@RequestMapping("/page")
public class PageController {

    private String prefix = "system/hidden/";

    @GetMapping()
    public String page(@RequestParam("url")String url){
        return prefix + url;
    }
}
